package com.winspread.app.fragment

import android.os.Bundle
import com.winspread.app.R
import com.winspread.app.databinding.FragmentABinding
import com.winspread.mvvm.base.vm.BaseNotFragment

/**
 *Author: Amin
 *Data: 2022/4/13 16:30
 *
 *Description:
 *
 */
class AFragment : BaseNotFragment<FragmentABinding>(R.layout.fragment_a) {

    companion object {
        fun getInstance(bundle: () -> Bundle): AFragment {
            val aFragment = AFragment()
            aFragment.arguments = bundle.invoke()
            return aFragment
        }
    }

    override fun initView() {
        val string = arguments?.getString("AFRAGMENT")
        binding.tv.text = string
    }


}